Indirect Object Pronouns

The indirect object of a sentence usually answers the question ‘to whom?’ or ‘for whom?’: Roberto me da un regalo (‘Roberto gives a present to me’); Yo te compro este libro (‘I'll buy this book for you). To replace the indirect object noun with a pronoun, you must choose the correct form that corresponds to the noun:
 

Singular
me to me
te to you, informal
le to you, formal
le to him, to her
Plural
nos to us
os to you all, informal
les to you all, formal
les to them

Sometimes native speakers will use le or les as both the direct and indirect object pronoun when they are referring to a male person. If you are not sure which form to use (le or lo) when talking about a man, you can almost always use le.